//this class bridge GToyThread implement
//andycai 2012-03-08

#include "GParallel/GThreadImpl.h"
#include "GToy/Thread.h"

class GToyThreadImpl : public GThreadImpl, protected GToy::Thread
{
public:
	GToyThreadImpl(GThread* thr);
	~GToyThreadImpl();

	void startImpl();
	void stopImpl();
	void joinImpl();

private:
	void run();
};
